package com.lg.patter.behavior.template;

/**
 * @author by Mr. Li 2020/6/16 13:25
 */
public class Test {
    public static void main(String[] args) {
        System.out.println("=========架构师课程=========");
        JavaCourse javaCourse = new JavaCourse();
        javaCourse.setNeedCheckHomework(true); // 调用模板方法中的钩子方法
        javaCourse.createCourse();

        System.out.println("=========Python课程=========");
        PythonCourse pythonCourse = new PythonCourse();
        pythonCourse.createCourse();
    }
}
